<?php
/**
 * Created by PhpStorm.
 * User: bill-h
 * Date: 2022/2/23
 * Time: 21:05
 * Email: 391878487@qq.com
 */

namespace app\api\controller\v1;
use org\QueTools;
use think\facade\Log;

class CrontabLz
{
    /**
      * @name 这里查店铺状态拉取配置
      *
      */
    public function store(){

        $postdata=file_get_contents("php://input");
        if(!empty($postdata)){
            print_r(json_decode($postdata,true));
        }
        Log::write('xxljob:'.$postdata,'notice');
        return "success";


    }

    /**
     * @name 查店铺设置完成  开始触发  集合队列
     *
     */
    public function store_finish(){

        $postdata=file_get_contents("php://input");
        if(!empty($postdata)){
            print_r(json_decode($postdata,true));
        }
        Log::write('xxljob:'.$postdata,'notice');
        return "success";


    }

    /**
     * @name 集合创建完成  开始触发  产品队列
     *
     */
    public function collection_finnish(){

        $postdata=file_get_contents("php://input");
        if(!empty($postdata)){
            print_r(json_decode($postdata,true));
        }
        Log::write('xxljob:'.$postdata,'notice');
        return "success";


    }
}